package com.test.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.Map;

@FeignClient(value = "spring-security-oauth", path = "/oauth")
public interface OauthFeignService {
    @PostMapping("/check_token")
    Map checkToken();
}